<template>
  <div id="app">
    <router-view />
    <Toast />
    <Loading />
    <WGZL_size />
    <NetworkTimeout/>
  </div>
</template>

<script>

import Toast from "@/_toast";
import Loading from "@/_loading";
import NetworkTimeout from "@/_networkTimeout";
import WGZL_size from "@/_WGZL_size";//外观专利 size提示框

export default {
  name: "App",
  components: { Toast, Loading,NetworkTimeout,WGZL_size },

  mounted() {
    //小屏自动折叠函数
    $app.minScreenColl();
    setTimeout(() => {
      document.body.removeChild(document.getElementById("appLoading")); //删除loading层
    }, 200);
  }
};
</script>

<style lang="less">
.size {
  width: 100%;
  height: 100%;
}
html,
body {
  .size;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
#app {
  .size;
}
</style>
